//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class LiveTaskUserPut implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Integer timeIndex;
    private Long taskUserId;
    private Long examUserId;
    private Long productId;
    private Long crerateUser;
    private Long createTime;
    private Long channelId;
    private Integer state;

    public LiveTaskUserPut() {
    }

    public Long getId() {
        return this.id;
    }

    public Integer getTimeIndex() {
        return this.timeIndex;
    }

    public Long getTaskUserId() {
        return this.taskUserId;
    }

    public Long getExamUserId() {
        return this.examUserId;
    }

    public Long getProductId() {
        return this.productId;
    }

    public Long getCrerateUser() {
        return this.crerateUser;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public Long getChannelId() {
        return this.channelId;
    }

    public Integer getState() {
        return this.state;
    }

    public LiveTaskUserPut setId(final Long id) {
        this.id = id;
        return this;
    }

    public LiveTaskUserPut setTimeIndex(final Integer timeIndex) {
        this.timeIndex = timeIndex;
        return this;
    }

    public LiveTaskUserPut setTaskUserId(final Long taskUserId) {
        this.taskUserId = taskUserId;
        return this;
    }

    public LiveTaskUserPut setExamUserId(final Long examUserId) {
        this.examUserId = examUserId;
        return this;
    }

    public LiveTaskUserPut setProductId(final Long productId) {
        this.productId = productId;
        return this;
    }

    public LiveTaskUserPut setCrerateUser(final Long crerateUser) {
        this.crerateUser = crerateUser;
        return this;
    }

    public LiveTaskUserPut setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public LiveTaskUserPut setChannelId(final Long channelId) {
        this.channelId = channelId;
        return this;
    }

    public LiveTaskUserPut setState(final Integer state) {
        this.state = state;
        return this;
    }

    public String toString() {
        return "LiveTaskUserPut(id=" + this.getId() + ", timeIndex=" + this.getTimeIndex() + ", taskUserId=" + this.getTaskUserId() + ", examUserId=" + this.getExamUserId() + ", productId=" + this.getProductId() + ", crerateUser=" + this.getCrerateUser() + ", createTime=" + this.getCreateTime() + ", channelId=" + this.getChannelId() + ", state=" + this.getState() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LiveTaskUserPut)) {
            return false;
        } else {
            LiveTaskUserPut other = (LiveTaskUserPut)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label119: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label119;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label119;
                    }

                    return false;
                }

                Object this$timeIndex = this.getTimeIndex();
                Object other$timeIndex = other.getTimeIndex();
                if (this$timeIndex == null) {
                    if (other$timeIndex != null) {
                        return false;
                    }
                } else if (!this$timeIndex.equals(other$timeIndex)) {
                    return false;
                }

                label105: {
                    Object this$taskUserId = this.getTaskUserId();
                    Object other$taskUserId = other.getTaskUserId();
                    if (this$taskUserId == null) {
                        if (other$taskUserId == null) {
                            break label105;
                        }
                    } else if (this$taskUserId.equals(other$taskUserId)) {
                        break label105;
                    }

                    return false;
                }

                Object this$examUserId = this.getExamUserId();
                Object other$examUserId = other.getExamUserId();
                if (this$examUserId == null) {
                    if (other$examUserId != null) {
                        return false;
                    }
                } else if (!this$examUserId.equals(other$examUserId)) {
                    return false;
                }

                label91: {
                    Object this$productId = this.getProductId();
                    Object other$productId = other.getProductId();
                    if (this$productId == null) {
                        if (other$productId == null) {
                            break label91;
                        }
                    } else if (this$productId.equals(other$productId)) {
                        break label91;
                    }

                    return false;
                }

                Object this$crerateUser = this.getCrerateUser();
                Object other$crerateUser = other.getCrerateUser();
                if (this$crerateUser == null) {
                    if (other$crerateUser != null) {
                        return false;
                    }
                } else if (!this$crerateUser.equals(other$crerateUser)) {
                    return false;
                }

                label77: {
                    Object this$createTime = this.getCreateTime();
                    Object other$createTime = other.getCreateTime();
                    if (this$createTime == null) {
                        if (other$createTime == null) {
                            break label77;
                        }
                    } else if (this$createTime.equals(other$createTime)) {
                        break label77;
                    }

                    return false;
                }

                label70: {
                    Object this$channelId = this.getChannelId();
                    Object other$channelId = other.getChannelId();
                    if (this$channelId == null) {
                        if (other$channelId == null) {
                            break label70;
                        }
                    } else if (this$channelId.equals(other$channelId)) {
                        break label70;
                    }

                    return false;
                }

                Object this$state = this.getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LiveTaskUserPut;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $timeIndex = this.getTimeIndex();
        result1 = result * 59 + ($timeIndex == null ? 43 : $timeIndex.hashCode());
        Object $taskUserId = this.getTaskUserId();
        result1 = result * 59 + ($taskUserId == null ? 43 : $taskUserId.hashCode());
        Object $examUserId = this.getExamUserId();
        result1 = result * 59 + ($examUserId == null ? 43 : $examUserId.hashCode());
        Object $productId = this.getProductId();
        result1 = result * 59 + ($productId == null ? 43 : $productId.hashCode());
        Object $crerateUser = this.getCrerateUser();
        result1 = result * 59 + ($crerateUser == null ? 43 : $crerateUser.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $channelId = this.getChannelId();
        result1 = result * 59 + ($channelId == null ? 43 : $channelId.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        return result1;
    }
}
